import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;


public class ListDemo5 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
	/*	Map<Integer, String>m =new TreeMap<Integer, String>();
		m.put(101, "Ram");
		m.put(102, "prat");
		m.put(103, "chaman");
			
		System.out.println(m);
		
		System.out.println(m.get(103));
		*/
		Map<Integer, String>m =new HashMap<Integer, String>();
		m.put(101, "Ram");
		m.put(102, "prat");
		m.put(103, "chaman");
			
		System.out.println(m);
		
		System.out.println(m.get(103));

	}

}
